package com.tanhua.dubbo.api;

import com.tanhua.model.domain.mysql.Question;

public interface QuestionApi {

    /**
     * description: 查询陌生人问题 <br>
     * version: 1.0 <br>
     * date: 2021/11/14 20:57 <br>
     * author: SangWu <br>
     *
     * @param userId
     * @return com.tanhua.model.domain.mysql.Question
     */
    Question findQuestion(Long userId);

    /**
     * description: 保存问题 <br>
     * version: 1.0 <br>
     * date: 2021/11/14 20:57 <br>
     * author: SangWu <br>
     *
     * @param question
     * @return void
     */
    void saveQuestions(Question question);

    /**
     * description: 修改问题 <br>
     * version: 1.0 <br>
     * date: 2021/11/14 20:58 <br>
     * author: SangWu <br>
     *
     * @param question
     * @return void
     */
    void updateQuestions(Question question);
}